﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xyz.BusinessObjects.Validation;

namespace Xyz.BusinessObjects
{
    public class PassengerService : BusinessObject
    {
        public PassengerService()
        {
            AddRule(new ValidateMandatory("TicketId"));
            AddRule(new ValidateMandatory("ServiceCode"));
      
        }
        public int TicketId { get; set; }
        public string ServiceCode { get; set; }
    }
}
